package com.chuanyang.driverh.mainother;


import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.chuanyang.driverh.R;
import com.chuanyang.driverh.base.BaseActivity;

public class DialogActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_alert_one_button);
        init();
    }
    private void init() {
        TextView tv_describe = (TextView) findViewById(R.id.tv_describe);
        tv_describe.setText(getIntent().getStringExtra("data"));
        TextView tv_sure = (TextView) findViewById(R.id.tv_sure);
        tv_sure.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
